package com.tinyseed.emcp.api.maintenance.domain;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @version Revision 1.0.0
 * @版权：
 * @author: Howard
 * @email:
 * @see:
 * @创建日期：2020/3/14
 * @功能说明：文件存储
 * @begin
 * @修改记录:
 * @修改后版本 修改人        修改内容
 * @2020/3/14 wuxiran        创建
 * @end
 */
@Table(name = "tb_file_storage_info")
@Entity
@Data
public class FileStorageInfo implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "file_storage_info")
    @SequenceGenerator(sequenceName = "file_storage_info_sequence", name = "file_storage_info", allocationSize = 1)
    @Column(name = "id")
    private Long id;

    @Column()
    private String originalFileName;
    @Column()
    private String realFileName;

}
